﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TempDataInterfaceDLL
{
    public class ReBiaoData
    {
        public byte Addr;
        public ulong SheBeiID;
        public ushort ZhiZaoShanID;
        public byte FangWenXuHao;
        public byte Status;
        public double ReLiang;
        public double LeiJiLiuLiang;
        public double JinShuiWenDu;
        public double HuiShuiWenDu;
        public double ShunShiLiuLiang;
        public double GongLv;
        public DateTime dt;
        public ReBiaoData()
        {

        }
    }
    public class TempData
    {
        public String _Caller;//呼入电话号
        public DateTime _CallInTime;//呼入时间
        public Single _Temperature;//温度
        public Byte _ErrFlag;//错误标志
    }

    public class CallData
    {
        public int UserIndex;
        public string caller;
        public DateTime callin_time;
        public int Delay;
        public CallData()
        {
            caller = "";
            Delay = 0;
        }
    }
    [System.Runtime.Serialization.DataContract]
    public class verify
    {
        [System.Runtime.Serialization.DataMember]
        public string message;
        [System.Runtime.Serialization.DataMember]
        public string data;
        [System.Runtime.Serialization.DataMember]
        public bool success;
    }
    [System.Runtime.Serialization.DataContract]
    public class login
    {
        [System.Runtime.Serialization.DataMember]
        public string message;
        [System.Runtime.Serialization.DataMember]
        public string data;
        [System.Runtime.Serialization.DataMember]
        public bool success;
    }
    [System.Runtime.Serialization.DataContract]
    public class myData
    {
        [System.Runtime.Serialization.DataMember]
        public string message;
        [System.Runtime.Serialization.DataMember]
        public bool success;
        [System.Runtime.Serialization.DataMember]
        public int count;
        [System.Runtime.Serialization.DataMember]
        public JsonCallData[] data;
    }
    [System.Runtime.Serialization.DataContract]
    public class JsonCallData
    {
        [System.Runtime.Serialization.DataMember]
        public string caller;
        [System.Runtime.Serialization.DataMember]
        public string called;
        [System.Runtime.Serialization.DataMember]
        public string callin_time;
    }
}
